//DPR为1.5的缩放0.7倍
@media(-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5)
    .border-1px
      &:before
          -webkit-transform:  scaleY(0.7)
          transform:scaleY(0.7)
      &:after
          -webkit-transform:  scaleY(0.7)
          transform:scaleY(0.7)

//DPR为2的缩放0.5倍
@media(-webkit-min-device-pixel-ratio: 2),(min-device-pixel-ratio: 2)
    .border-1px
      &:before
          -webkit-transform:  scaleY(0.5)
          transform:scaleY(0.5)
      &:after
          -webkit-transform:  scaleY(0.5)
          transform:scaleY(0.5)